<!DOCTYPE html>
<%@ page language="java" import="java.util.*" contentType="text/html; charset=utf-8" %>
<%@ include file="../core/core.jsp" %>
<html>

<head>

    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta name="renderer" content="webkit">
    <title>修改商品</title>
    <meta name="keywords" content="叮当猫">
    <meta name="description" content="叮当猫">
    <link href="../static/css/summernote.css" rel="stylesheet">
    <link href="../static/css/summernote-bs3.css" rel="stylesheet">
    <link href="../static/css/cropper.min.css" rel="stylesheet">
    <link href="../static/css/sitelogo.css" rel="stylesheet">
    <script src="../static/js/photoClip/cropper.js"></script>
    <script src="../static/js/photoClip/sitelogo.js"></script>
    <style>
        #clipArea {
            margin: 20px;
            height: 300px;
        }

        #file,
        #clipBtn {
            margin: 20px;
        }

        #view {
            margin: 0 auto;
            width: 200px;
            height: 200px;
        }

        table.dataTable thead .sorting:after {
            content: '';
        }

        .editDetail, #editState, #keepState, #editInventory, #saveInventory, .editAll {
            background-color: #49c9bb;
            color: #FFFFFF;
            display: inline-block;
            padding: 6px 12px;
            font-size: 14px;
            font-weight: 400;
            line-height: 1.42857143;
            text-align: center;
            vertical-align: middle;
            cursor: pointer;
            border-radius: 4px;
            margin-top: 10px;
            white-space: nowrap;
        }

        #editState, #keepState, #editInventory, #saveInventory {
            margin-top: 0;
        }

        .spe_title input, .spe_detail input {
            margin-right: 27px;
            margin-bottom: 10px;
        }

        .spe_title img {
            position: absolute;
            top: -10px;
            right: -11px;
            width: 24px;
            height: 24px;
        }

        .spe_detail img {
            position: absolute;
            top: -10px;
            right: 12px;
            width: 24px;
            height: 24px;
        }

        input[type=checkbox] {
            width: 18px;
            height: 18px;
            margin: 0 20px 0 4px;
            vertical-align: middle;
        }
        .delItem{
            cursor: pointer;
            text-decoration: underline;
        }
        .oneImgBox,.oneImgBox2{
            position: relative;
            width: 80px;
            height: 66px;
            margin-right: 10px;
            float: left;
        }
        .oneImgBox img,.oneImgBox2 img{
            width: 66px;
            height: 66px;
            display: block;
        }
        .oneImgBox span,.oneImgBox2 span{
            width: 18px;
            height: 18px;
            font-size: 18px;
            line-height: 18px;
            position: absolute;
            top:0;
            right: 0;
            cursor: pointer;
        }
    </style>
</head>

<body>

<div class="wrapper wrapper-content animated fadeInRight">
    <div id="idBox" style="display: none;"><%=request.getAttribute("id")%></div>
    <div class="ibox-content">
        <form class="form-horizontal m-t" id="commentForm">
            <div class="form-group">
                <label class="col-sm-1 control-label">流量：</label>
                <div class="col-sm-8">
                    <input id="flux" name="name" type="text" class="form-control" >
                </div>
            </div>
            <div class="form-group">
                <label class="col-sm-1 control-label">金额：</label>
                <div class="col-sm-8">
                    <input id="money" type="text" class="form-control" name="email" >
                </div>
            </div>



            <div class="form-group">
                <label class="col-sm-1 control-label">商品状态：</label>
                <div class="col-sm-8">
                    <select name="" id="state" style="width: 100%;height: 34px;" readonly>
                        <option value="0">无效</option>
                        <option value="1">有效</option>
                    </select>
                </div>
            </div>



        </form>

        <div class="btn btn-primary" style="margin-left: 116px" id="save2">修改商品</div>
    </div>


</div>



<%--<button type="button" class="btn btn-success" data-toggle="modal" data-target="#ggModal">添加规格</button>--%>



<!--sfy添加规格模态框 -->
<div class="modal fade" id="ggModal" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true"
     style="margin-top: 500px">
    <div class="modal-dialog">
        <div class="modal-content">
            <div class="modal-header">
                <button type="button" class="close" data-dismiss="modal" aria-hidden="true">&times;</button>
                <h4 class="modal-title" id="myModalLabel">添加规格</h4>
            </div>
            <div class="modal-body">

                <div class="form-group">
                    <label for="ggname">名称</label>
                    <input type="text" class="form-control" id="ggname" placeholder="例如：尺寸">
                </div>


                <button class="btn btn-info" id="ggsubmit">提交</button>

            </div>

        </div><!-- /.modal-content -->
    </div><!-- /.modal -->
</div>



<div class="modal fade" id="avatar-modal" aria-hidden="true" aria-labelledby="avatar-modal-label" role="dialog"
     tabindex="-1">
    <div class="modal-dialog modal-lg">
        <div class="modal-content" style="width: 655px;height: 705px">

                <div class="modal-header">
                    <button class="close" data-dismiss="modal" type="button">&times;</button>
                    <h4 class="modal-title" id="avatar-modal-label">上传图片</h4>
                </div>

      <div id="zyupload" class="zyupload"></div>





    </div>
        </div>
</div>
<div class="loading" aria-label="Loading" role="img" tabindex="-1"></div>


<script src="../static/js/flux/details.js" charset="utf-8"></script>
<script>

</script>
</body>

</html>
